#pragma once
#include "CEventArgs.h"


class CVisualState;
class CControl;

class CVisualStateChangedEventArgs :
	public CEventArgs
{
public: 
	virtual ~CVisualStateChangedEventArgs();
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	CVisualState * m_pOldState; 
	CVisualState * m_pNewState;
	CControl * m_pControl;

protected: 
	CVisualStateChangedEventArgs(CCoreServices * pCore);
};